package com.spic.business.mountguard.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 上岗到位签到记录对象 mount_sign_record
 *
 * @author spic
 * @date 2021-12-06
 */
@Data
public class MountSignRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 签到id */
    @Excel(name = "签到id")
    private String signId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 签到地点 */
    @Excel(name = "签到地点")
    private String signAddress;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 岗位id */
    @Excel(name = "岗位id")
    private Long postId;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    /** 签到经度 */
    @Excel(name = "签到经度")
    private Double signLongitude;

    /** 签到纬度 */
    @Excel(name = "签到纬度")
    private Double signLatitude;
}
